--Home and a view others should not have a listview, it just displays relations. Plus the referenced view does not exist!
--DELETE FROM GRIDVIEWS WHERE NAME = 'Home.ListView'

--DELETE FROM GRIDVIEWS WHERE NAME = 'Dashboard.ListView'

--DELETE FROM GRIDVIEWS WHERE NAME = 'Calendar.ListView'

--DELETE FROM GRIDVIEWS WHERE NAME = 'Administration.ListView'

--Instead of hardcoding wrote a query to clean it up
DELETE
FROM vwGRIDVIEWS
WHERE ((SELECT COUNT(*) FROM vwGRIDVIEWS_COLUMNS WHERE vwGRIDVIEWS_COLUMNS.GRID_NAME = vwGRIDVIEWS.NAME) = 0) AND NAME LIKE '%ListView' AND
(VIEW_NAME NOT IN (select name from sysobjects where xtype = 'V'))

DELETE FROM MODULES WHERE MODULE_NAME = 'ProductTypes' AND RELATIVE_PATH = '~/Administrations/ProductTypes/'